﻿@{ 
    ViewBag.Title = "奖惩用户";
}
@model User

<h3>@ViewBag.Title</h3>
<form asp-action="Edit">
    @Html.ValidationSummary()
    @Html.HiddenFor(m=>m.Id)
    <div class="form-group">
        <label class="control-label" asp-for="UserName">昵称</label>
        <input type="text" class="form-control" asp-for="UserName" />
    </div>
    <div class="form-group">
        <label class="control-label" asp-for="TradingPoints">金币 @Model.TradingPoints</label>
    </div>
    <div class="form-group">
        <label class="control-label" asp-for="ExpMaxPoints">经验值 @Model.ExpPoints/@Model.ExpMaxPoints</label>
    </div>
    <div class="form-group">
        <label class="control-label" asp-for="Level">Lv.@Model.Level</label>
    </div>
    <div class="form-group">
        <label class="control-label">奖惩金币</label>
        <input type="number" class=" form-control" name="TradingPoints"  value="0"/>
    </div>
    <div class="form-group">
        <label class="control-label" for="ExpPoints">奖惩经验值</label>
        <input type="number" class=" form-control" name="ExpPoints" value="0" />
    </div>
    <div class="form-group">
        <button class="btn btn-primary" type="submit">提交</button>
        <a asp-action="Index" class="btn btn-default">返回</a>
    </div>
</form>